package com.nuanshui.heatedloan.fund.biz.dal.mapper;

import com.nuanshui.heatedloan.fund.model.OrderNumWithPayNum;
import org.apache.ibatis.annotations.Param;

/**
 * @Author: Gonzo
 * @Date 2017/4/13下午4:32
 * @since 1.4.2
 */
public interface OrderNumWithPayNumMapper {

    void save(OrderNumWithPayNum orderNumWithPayNum);

    String getOrderNumByPayNum(String payNum);

    OrderNumWithPayNum loadByOrderNumAndSubType(@Param("orderNum") String orderNum,@Param("subType") Integer subType);

    OrderNumWithPayNum loadByPayNum(@Param("payNum") String payNum);

    OrderNumWithPayNum loadByOrderNum(@Param("orderNum") String orderNum);
}
